package com.hehua.BuilderTwo;

public class Client {
    public static void main(String[] args) throws Exception {
        ActorBuild actorBuild;
        actorBuild = (ActorBuild)XmlUtil.getBean();
        Actor actor = actorBuild.construct();
        System.out.println(actor.getName());
        System.out.println(actor.getAge());
    }
}
